package com.xxxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class HotspotBlockHandler {
    public static String getHotspotBlockHandler(
        String type,
        String size,
        BlockException e) {
    System.out.println("热点key被限流了");
    return "热点key被限流了";
        }

    }

